package com.huanwang.homelibrary;

import android.util.Log;

import androidx.databinding.ViewDataBinding;

import com.huanwang.commonlibrary.base.BaseFragment;
import com.huanwang.commonlibrary.base.BaseFragmentImpl;

import org.jetbrains.annotations.NotNull;

public class MyFragment extends BaseFragmentImpl<MainActivity2,MViewModule> {
    @Override
    public int onLayoutID() {
        return R.layout.my_fragment;
    }

    @Override
    public void onLoadDate(@NotNull ViewDataBinding viewDataBinding) {
        Log.d("TAGTAG","onLoadDate-----------"+this);
    }

    @Override
    public void onLazyLoad() {
        Log.d("TAGTAG","onLazyLoad-----------"+this);

    }

    @Override
    public void setUserVisibleHint(boolean isVisibleToUser) {
        super.setUserVisibleHint(isVisibleToUser);
        Log.d("TAGTAG","setUserVisibleHint------");
    }
}
